<div ng-if="pagedata.showhaoyou" class="popup">
	<div class="popup-body">
		<div class="popup-bottom">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showhaoyou=false"></i>
			<div class="fui-page-title c" style="margin-top:-1.5rem">
					<img style="border-radius: 50%;padding:0.15rem;width:3rem;height:3rem;background-color: #f2f2f2;" src="../addons/jy_yangjidan/imgs/haoyoulogo.png" />
					<div class="">合伙人数({{pagedata.member.haoyounum||0}}位)</div>
			</div>
			<div class="fui-cell-group" style="padding:0.5rem;max-height:20rem;overflow-y:scroll">
				<div ng-repeat="item in pagedata.list" class="fui-cell" style="padding:0.5rem;margin-bottom:0.3rem;border-radius:0.5rem;background:#56a9f4">
						<div class="fui-cell-label">
							<img style="border-radius: 50%;padding:0.15rem;width:3rem;height:3rem;background-color: #f2f2f2;" ng-src="{{tomedia(item.avatar) ||'../core/resource/images/noavatar.gif'}}" />
						</div>
						<div class="fui-cell-text">
							<div class="" style="color:#c0fc73">{{item.nickname||item.username}}</div>
							<div style="font-size:0.6rem;color:#f9f9f9">拥有蛋鸡{{item.myji||0}}只,鸡蛋{{item.jd||0}}个</div>
						</div>
				</div>
				<div class="fui-cell" style="padding:0.5rem;border-radius:0.5rem;background-color: #f5c44b;">
						<div class="fui-cell-label">
							<img style="border-radius: 50%;padding:0.15rem;width:3rem;height:3rem;background-color: #f2f2f2;" src="../addons/jy_yangjidan/imgs/haoyoulogo.png" />
						</div>
						<div class="fui-cell-text" style="font-size:0.65rem">
							<div class="" style="color:#fff">邀请好友一起玩</div>
							<div class="" style="font-size:0.5rem;color:#f9f9f9">每邀请一位新用户好友可以获得{{pagedata.pluginset.ls_fromyou||0}}g奖励哦</div>
						</div>
						<div class="fui-cell-remark noremark">
							<span class="label label-success" onclick="$('#showsharecover').modal();">去分享</span>
						</div>
				</div>
			</div>
		</div>
	</div>
	<script>
	if(scope.pagedata.showhaoyou){
		scope.pagedata.loading=true;
		scope.tool.get_list('jy_yangjidan/haoyou/list/ismore=1',true);
		scope.pagedata.scroll_bottom=function(){
			scope.tool.get_list('jy_yangjidan/haoyou/list/ismore=1');
		}
	}
	</script>
</div>